/**
 * 
 */
package com.teamall.web.family.service;

import java.math.*;
import java.util.*;

import com.teamall.core.common.Page;
import com.teamall.framework.exception.BaseAppException;

import com.teamall.web.family.db.po.FamilyReplyPO;

/**
 * <Description> <br>
 * 
 * @author codeCreater<br>
 * @version 1.0<br>
 * @taskId <br>
 * @CreateDate 2014年11月11日 <br>
 * @since V1.0<br>
 * @see com.teamall.web.family.service <br>
 */

public interface IFamilyReplyService {

    FamilyReplyPO selectByPrimaryKey(Integer key) throws BaseAppException;

    List<FamilyReplyPO> selectByArg(FamilyReplyPO record) throws BaseAppException;

    Page<FamilyReplyPO> selectByArgAndPage(FamilyReplyPO record, Page<FamilyReplyPO> resultPage)
            throws BaseAppException;

    int add(FamilyReplyPO record) throws BaseAppException;

    int update(FamilyReplyPO record) throws BaseAppException;

    int delete(FamilyReplyPO record) throws BaseAppException;

    int reply(Integer helpId,String content,Integer userId) throws BaseAppException;
}
